import request from '../utils/request' // 引入封装得axios

// 获取新闻列表
export function GetUserInfo(data) {
    return request({
        url: '/aks/GetUserInfo',
        method: 'get',
        data
    })
}
export function content (query) {
    return request({
        url: '/aks/home',
        method: 'get',
    })
}
export function Answered  (query) {
    return request({
        url: '/aks/home?Type=1',
        method: 'get',
    })
}
export function Notanswered  (query) {
    return request({
        url: '/aks/home?Type=0',
        method: 'get',
    })
}
export function Primary (query) {
    return request({
        url: '/aks/home?q=小学',
        method: 'get',
    })
}
export function Juniorhigh(data) {
    return request({
        url: '/aks/home?q=初中',
        method: 'get',
        data
    })
}
export function High(data) {
    return request({
        url: '/aks/home?q=高中',
        method: 'get',
        data
    })
}